package org.example.cet.demos.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.cet.demos.domain.dto.HomeworkDto;
import org.example.cet.demos.domain.po.Homework;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hq
 * @since 2024-12-18
 */
@Mapper
public interface HomeworkMapper extends BaseMapper<Homework> {
    List<Homework> getPage(Long id);
    List<HomeworkDto> getList();

}
